﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HMS.BL
{
    public class NodeProperty
    {
        public string id { get; set; }
        public string rel { get; set; }
        public string typeid { get; set; }
        public string isleaf { get; set; }
        public string hasdata { get; set; }
        public string validparent { get; set; }
        public Boolean ownparent { get; set; }

        public NodeProperty()
        {
            //
            // TODO: Add constructor logic here
            //
        }

        public NodeProperty(string id, string rel, string typeid, string isleaf)
        {
            this.id = id;
            this.rel = rel;
            this.typeid = typeid;
            this.isleaf = isleaf;          
        }

        public NodeProperty(string id, string rel, string typeid, string isleaf, string validparent, Boolean ownparent)
        {
            this.id = id;
            this.rel = rel;
            this.typeid = typeid;
            this.isleaf = isleaf;
            this.validparent = validparent;
            this.ownparent=ownparent;
        }

        public NodeProperty(string id, string rel, string typeid, string isleaf, string validparent, string hasdata)
        {
            this.id = id;
            this.rel = rel;
            this.typeid = typeid;
            this.isleaf = isleaf;
            this.validparent = validparent;
            this.hasdata = hasdata;
        }



    }
}
